package com.longteng.diamond.controller;

import com.longteng.diamond.service.InterfaceMockService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by Administrator
 * DATE : 2018/8/5
 * TIME : 16:06
 * PROJECT : java-lesson
 * PACKAGE : com.longteng.lesson
 *
 * @author <a href="mailto:taki@qq.com">Administrator</a>
 */
@RestController
@RequestMapping("/resolveMockController")
public class ResolveMockController {
    @Autowired
    InterfaceMockService interfaceMockService;
    @RequestMapping("/resolveMockData")
    public String getMockData(HttpServletRequest request,HttpServletResponse response){
        return interfaceMockService.getMockData(request);
    }
}
